//---------------------------------------------------------------------------
//
// Name:        DeadProxyWriter.h
// Author:      Carl Chatfield
// Created:     8/12/2007 10:04:24 AM
// Description: Class used for reading an writing to tibias memory
//
//---------------------------------------------------------------------------

#ifndef __DEADPROXYTIBIARW_h__
#define __DEADPROXYTIBIARW_h__

#ifdef __BORLANDC__
	#pragma hdrstop
#endif

#ifndef WX_PRECOMP
	#include <wx/wx.h>
#else
	#include <wx/wxprec.h>
#endif

#include "windows.h"

class TibiaRW
{
    private:
        HANDLE hdl;
	public:
        void SetHandle(void* handle);
		int Write(void* address, void* buffer, int size);
        int Read(void* address, void* buffer, int size);
        TibiaRW(void* handle);
        virtual ~TibiaRW();
};

#endif
